/* $Id: signal.h 13 2006-12-14 21:07:45Z judas $ */

#ifndef NIH_SIGNAL_H
#define NIH_SIGNAL_H 1

#include <nih/cdefs.h>

BEGIN_C_DECLS

#if HAVE_SIGNAL_H
# include <signal.h>
#endif /* HAVE_SIGNAL_H */

extern sig_atomic_t nih_sig_list[_NSIG];

#define NIH_SIGANY 0

extern int nih_sig_init(int default_action);

// sig_atomic_t nih_sig_handler(int signum, sighandler_t sighandler);

extern void nih_sig_process();

END_C_DECLS

#endif /* NIH_SIGNAL_H */

